
EXE= EdgeDetect GenDataBase test


all: ${EXE}

EdgeDetect: EdgeDetect.cpp 
	g++ -ggdb `pkg-config --cflags opencv` -o $@ EdgeDetect.cpp `pkg-config --libs opencv`

GenDataBase: GenDataBase.cpp ShadowDB.cpp ShadowDB.h  Core.h BiCE.h BiCE.cpp Descriptor.h Descriptor.cpp 
	g++ -ggdb `pkg-config --cflags opencv` -o $@ GenDataBase.cpp `pkg-config --libs opencv` BiCE.cpp Descriptor.cpp ShadowDB.cpp

test: test.cpp Core.h ShadowDB.cpp ShadowDB.h Core.h BiCE.h BiCE.cpp Descriptor.h Descriptor.cpp
	g++ -ggdb `pkg-config --cflags opencv` -o $@ test.cpp `pkg-config --libs opencv` BiCE.cpp Descriptor.cpp ShadowDB.cpp

clean:
	rm ${EXE} *~
